import request from '@/utils/request'

export function queryBannerItems(pageNum, pageSize) {
    return request({
        url: '/home/head-recommend-ad-list',
        method: 'post',
        data: {
            'pageNum': pageNum,
            'pageSize': pageSize,
        }
    })
}


export function queryHeadRecommendVideoList(pageNum, pageSize) {
    return request({
        url: '/home/head-recommend-video-list',
        method: 'post',
        data: {
            'pageNum': pageNum,
            'pageSize': pageSize,
        }
    })
}

export function partitionRecommendVideoList(pid, pageNum, pageSize) {
    return request({
        url: '/home/partition-recommend-video-list',
        method: 'post',
        data: {
            // 'pid': pid,
            'pageNum': pageNum,
            'pageSize': pageSize,
        }
    })
}

export function partitionRankVideoList(pid, pageNum, pageSize) {
    return request({
        url: '/home/partition-recommend-video-list',
        method: 'post',
        data: {
            // 'pid': pid,
            'pageNum': pageNum,
            'pageSize': pageSize,
        }
    })
}